/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";

.account > .header .edit_account {
  display: none;
  form {
    margin: 0;
  }
}

.account > .header {
  padding: $ic-sp/3 $ic-sp;
  box-sizing: border-box;

  .name {
    font-weight: bold;
  }
}

.account.editing_account > .header .edit_account {
  display: block;
}

.account.editing_account > .header .show_account {
  display: none;
}

.header .links {
  padding-left: $ic-sp;
  float: right;
}

.header.header_hover {
  background-color: $ic-bg-light-primary;
  border-radius: $baseBorderRadius;
}

.header {
  .courses_count, .sub_accounts_count {
    color: $ic-font-color--subdued;
    @include fontSize(12px);
  }
}

ul.sub_accounts {
  list-style-type: none;
  margin: 10px;
  padding-left: 20px;
  margin-right: 0;
}

ul.sub_accounts .account {
  min-height: 40px;
}
